package main

import (
  "fmt"
)

func main() {
  var a bool
  fmt.Println(a) //false
  a=true
  fmt.Println(a) //true

  //==========================
  a = !a
  fmt.Println(a) //false


  //==========================
  var b bool
  if a == true && b == true {
    fmt.Println("right")
  }else {
    fmt.Println("not right")
  }

  b= true
  if a == true || b == true {
    fmt.Println("|| right")
  }else {
    fmt.Println("|| not right")
  }

  fmt.Printf("%t %t\n",a, b) //false true
}
